import React from 'react';
import DocmeePPT from '../components/DocmeePPT';

const PPTGenerator: React.FC = () => {
  // 这里需要从你的后端获取token
  const token = "your_token_here"; // 替换为实际的token

  const handleMessage = (message: unknown) => {
    console.log('PPT生成器消息:', message);
  };

  return (
    <div style={{ width: '100%', height: '100vh' }}>
      <DocmeePPT token={token} onMessage={handleMessage} />
    </div>
  );
};

export default PPTGenerator; 